#pragma once

#include "truetype_type.h"

// ms - http://www.microsoft.com/typography/otspec/loca.htm
// fruit - https://developer.apple.com/fonts/ttrefman/rm06/Chap6loca.html

void truetype_loca(truetype_t * tt, tt_table_t * table);
void truetype_loca_index(truetype_t * tt, tt_glyf_index_t * index);
void truetype_loca_index_16(tt_loca_16_t * loca, tt_glyf_index_t * index);
void truetype_loca_index_32(tt_loca_32_t * loca, tt_glyf_index_t * index);
